// Copyright DustedPixels.com 2008. All rights reserved.

package com.dustedpixels.jasmin.unit.z80.v1;

/**
 * @author micapolos@gmail.com (Michal Pociecha-Los)
 */
public final class Controller {
  // Registers controller
  public boolean REGS_WRITE;
  public boolean REGS_EXX;

  public int REGS_WRITE_SELECT;
  public int REGS_WRITE_MODE;
  
  public int REGS_READ_SELECT;
  public int REGS_READ_MODE;
  
  // Data bus controller
  public int DATA_MUX;
  final static int DATA_MUX_NONE = 0x00;
  final static int DATA_MUX_ACC = 0x01;
  final static int DATA_MUX_TMP = 0x02;
  final static int DATA_MUX_REGS = 0x03;
  
  // Address bus controller
  public int ADDR_MUX;
}
